package com.fpd.model.ro;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * TODO
 *
 * @author jiangshuai
 * @version 1.0
 * @date 2020/11/15 11:00
 */
@Data
public class CustomerCaseInfoRO extends PageRO{
    @ApiModelProperty(value = "ID", example = "", hidden = false)//之前是true
    private String id;

    @ApiModelProperty(value = "客户号", example = "", hidden = false)//之前是true
    private String custNo;

    @ApiModelProperty(value = "合同编号", example = "", hidden = false)//之前是true
    private String contractNumber;

    @ApiModelProperty(value = "批次号", example = "", hidden = false)//之前是true
    private String batchNo;

    @ApiModelProperty(value = "逾期天数", example = "", hidden = false)//之前是true
    private int yuqiDay;

    @ApiModelProperty(value = "逾期金额", example = "", hidden = false)//之前是true
    private BigDecimal yuqiAmount;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "最近一次还款时间", example = "", hidden = false)//之前是true
    private Date recentlyRepaymentTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "最近一次还款开始时间", example = "", hidden = false)//之前是true
    private Date beginTimeCaseStart;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "最近一次还款结束时间", example = "", hidden = false)//之前是true
    private Date beginTimeCaseEnd;

    //customer_base_info表内容
    @ApiModelProperty(value = "姓名", example = "", hidden = false)
    private String custName;// 姓名

    @ApiModelProperty(value = "手机号码", example = "", hidden = false)
    private String phoneNumber;// 手机号码

    //examine_service内容
    @ApiModelProperty(value = "检测状态", example = "检测状态（0：待检测；1：待确定；2：无异常；3：已确定；）", hidden = false)
    private String detectionState;

    @ApiModelProperty(value = "留案状态",hidden = false)
    private String isLeaveCase;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "留案时间", example = "", hidden = false)//之前是true
    private Date leaveDate;

    @ApiModelProperty(value = "批量申请留案/留案审核通过的id列表", example = "", hidden = false)//之前是true
    private List<String> idList;

    @ApiModelProperty(value = "还款人筛选",hidden = false,dataType = "直接传文字不传编号，回款插入时就是插入的文字")
    private String payerRelationship;

    @ApiModelProperty(value = "还款情况筛选",hidden = false,dataType = "客户分类（1：全部还款客户；2：部分还款客户；3：待跟进客户；4：拒绝回款客户；）")
    private String custClassify;
    
    private Integer caseType;
}
